package com.hzw.saas.api.user.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 用户基础信息
 *
 * @author zzl
 * @since 08/31/2021
 */
@Data
@ApiModel("用户基础信息")
@NoArgsConstructor
@AllArgsConstructor
public class UserBaseInfoBO implements Serializable {

    private static final long serialVersionUID = 848575278306347285L;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

    public static UserBaseInfoBO emptyInfo() {
        return new UserBaseInfoBO("", "", "");
    }

}
